Package com.cisco.pt.ipc.sim
Interface L2NatProcess
- All Known Implementing Classes:
L2NatProcessImpl
Information provided by the PKI file:
\class L2NatProcess
\brief L2NatProcess is the process that handles Nat for asa.
\example network().getDevice("Router0").getProcess("L2NatProcess")
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddInstance(String instanceName) Information provided by the PKI file:intInformation provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:getNatInstance(String instanceName) Information provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:booleanremoveNatInstance(String instanceName) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Method Details
-
getInstanceNamesList
Information provided by the PKI file:
\brief Returns the instance names list. \return vector<string>, value is a list of the instance names.- Returns:
- List<String> Returns a List<String>
-
getNatInstance
Information provided by the PKI file:
\brief Returns the nat instance. \return L2NatInsance, value is the nat instance.- Parameters:
instanceName- Takes in a parameter of instanceName- Returns:
- L2NatInstance Returns a L2NatInstance
-
removeNatInstance
Information provided by the PKI file:
\brief Removes the nat instance with the given name. \param instanceName, name of the nat instance to remove. \return bool, value is true if a instance with the given name was removed, false if not.- Parameters:
instanceName- Takes in a parameter of instanceName- Returns:
- boolean Returns a boolean
-
addInstance
Information provided by the PKI file:
\brief Adds a instance with the given name if no instance with that name already exists. \param instanceName, name of the nat instance to add. \return bool, value is true if the instance could be added, false if not.- Parameters:
instanceName- Takes in a parameter of instanceName- Returns:
- boolean Returns a boolean
-
getTotalTranslation
int getTotalTranslation()Information provided by the PKI file:
\brief Returns the total translation count. \return int, value is the total translation count.- Returns:
- int Returns a int
-
getTotalInstanceAttached
int getTotalInstanceAttached()Information provided by the PKI file:
\brief Returns the total instances attached. \return int, value is the total instances attached to the instance.- Returns:
- int Returns a int
-
getAttachedNatInstanceList
Information provided by the PKI file:
\brief Returns the list of attached nat instances. \return vector<string>, value is the list of attached nat instances.- Returns:
- List<String> Returns a List<String>
-
getTranslatedNatCount
int getTranslatedNatCount()Information provided by the PKI file:
\brief Returns the total translated nat count. \return int, value is the total instances attached to the instance.- Returns:
- int Returns a int
-
getArpFixupCount
int getArpFixupCount()Information provided by the PKI file:
\brief Returns the Arp Fixup count. \return int, value is the Arp Fixup count.- Returns:
- int Returns a int
-
getTotalNatCount
int getTotalNatCount()Information provided by the PKI file:
\brief Returns the total nat count. \return int, value is the total nat count.- Returns:
- int Returns a int
-